package com.leadingsoft.pwxk.converter;

import org.springframework.beans.BeanUtils;
import org.springframework.stereotype.Component;

import com.leadingsoft.common.converter.AbstractConverter;
import com.leadingsoft.pwxk.dto.AuditAirPollutionEmissionsDto;
import com.leadingsoft.pwxk.model.AuditAirPollutionEmissions;

@Component
public class AuditAirPollutionEmissionsConverter
		extends AbstractConverter<AuditAirPollutionEmissions, AuditAirPollutionEmissionsDto> {


	@Override
	protected AuditAirPollutionEmissionsDto toDtoActual(AuditAirPollutionEmissions model) {
		AuditAirPollutionEmissionsDto dto = new AuditAirPollutionEmissionsDto();
		BeanUtils.copyProperties(model, dto);
		return dto;
	}

	@Override
	public void copyProperties(AuditAirPollutionEmissions model, AuditAirPollutionEmissionsDto dto) {

	}

}
